//------------------------------------------------------------------------------------------------- 
// <copyright file="SA1107CodeMustNotContainMultipleStatementsOnOneLine.cs" company="StyleCop for ReSharper Development Team">
// Copyright (c) .  All rights reserved.
// </copyright>
// <summary>Defines the PrefixLocalCallsWithThis type.</summary>
//-------------------------------------------------------------------------------------------------

namespace StyleCop.For.ReSharper.TestProject.Readability
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// Example file for PrefixLocalCallsWithThis.
    /// </summary>
    [Serializable]
    public class SA1107CodeMustNotContainMultipleStatementsOnOneLine
    {
        /// <summary>
        /// Initializes a new instance of the SA1107CodeMustNotContainMultipleStatementsOnOneLine class.
        /// </summary>
        public SA1107CodeMustNotContainMultipleStatementsOnOneLine()
        {
            string value1 = "value1"; string value2 = "value2"; string value3 = "value3";
            Console.WriteLine(string.Concat(value1, value2, value3));

            for (;;)
            {
                // do something...
            }
        }
    }

    /// <summary>
    /// SA1004: DocumentationLinesMustBeginWithSingleSpace.
    /// </summary>
    public class TestSpacingRules
    {
        /// <summary>
        /// SA1004: DocumentationLinesMustBeginWithSingleSpace.
        /// </summary>
        /// <param name="test">Test test test.</param>
        /// <returns>Test Test Test.</returns>
        public static bool operator +(TestSpacingRules test)
        {
            // SA1007: OperatorKeywordMustBeFollowedBySpace
            return false;
        }
    }
}